Repository navigation
Conversation
Collapse messages into the system prompt and render template variables. create_opencode_handler stays agent-only. This does not change who evaluates the AI Config. Co-authored-by: alexis <alexis@launchdarkly.com>
This was referenced Oct 19, 2026
Contributor
Contributor
Author
|
Closing this. Turnkey will use a new agent config, and vega-base-prompt stays a completion config for the Go path. Template rendering for agent instructions is #182. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Superseded by the agent-config plan. Leave this open. Do not merge it.
Turnkey will evaluate a new agent-mode config,
vega-base-agent, withcreate_opencode_handler. Rendering agent instructions is the stacked PR on #179 (cursor/opencode-render-instructions-d425). This completion route is not part of that stack.vega-base-promptstays completion mode for the Go path.Decision
This PR adds a completion route.
create_opencode_handlerscollapses messages into the system prompt and renders them withparse_template.Why it was opened
A completion variation normalizes to mode
messages, and the agent handler only advertises("*", "agent"). That route is no longer how Turnkey will run.What this PR does not do
Next
Nothing in the Turnkey stack builds on this branch. The next change in the stack is the agent-instruction render PR on #179, then observability #2547.